Managing download requests received to download files from a server

ABSTRACT

A method and system of managing downloads of a file from a server. A determination is made of whether or not a number of current connections between a client and the server is less than a preset threshold number, exceeding one, of allowable concurrent connections with the server. If the determination is that the number of current connections is less than the preset threshold number, responsive to a request by the client to download the file pursuant to another connection between the client and the server, the computer establishes the other connection between the client and the server and downloads the file to the client via the other connection. If the determination is that the number of current connections is at least the preset threshold number, the computer denies a request by the client to download the file from the server using another connection between the client and the server.

CROSS REFERENCE TO RELATED APPLICATION

This application is a Continuation application claiming priority to Ser.No. 14/805,947, filed Jul. 22, 2015, now U.S. Pat. No. 9,876,847, issuedJan. 23, 2018, which is a continuation of Ser. No. 13/614,565, filedSep. 13, 2012, U.S. Pat. No. 9,106,627, issued Aug. 11, 2015, which is acontinuation of Ser. No. 11/778,153 filed Jul. 16, 2007, U.S. Pat. No.8,347,286, issued Jan. 1, 2013.

FIELD OF THE INVENTION

The present invention relates to a method, system and computer programproduct for managing download requests received for files from a serverin a computer infrastructure. In particular, the present inventionrelates to a method, system and computer program product for managingdownload requests received for files from a server while minimizingoverloading the server.

BACKGROUND OF THE INVENTION

In today's business environment, servers used to provide downloads ofsoftware often receive connections from download aids. Typically, thesedownload aids are browser plug-ins that facilitate downloads by usingmore than one connection to get a file. A download aid can be set up touse thousands of connections and this can lead to overloading theserver, thus, leading to what appears to be a denial of service attackin some network environments. As such, there is a need for a businessand/or organization to provide cost-effective ways to strengthen theirability to provide downloads of software from a server withoutoverloading the server.

SUMMARY OF THE INVENTION

In a first aspect of the invention, there is provided a method ofmanaging downloads of files from a server in a computer infrastructurewhile minimizing overloading the server. The method includes presetting,using a download managing tool, a threshold number of allowableconnections for each of a plurality of clients requesting connections todownload files from a server in a computer infrastructure. The methodfurther includes identifying, using the download managing tool, arespective client of the plurality of clients requesting one or moreconnections to download a file from the server and tracking, using thedownload managing tool, whether or not the respective client of theplurality of clients has exceeded the threshold number of allowableconnections preset. If the respective client has not exceeded thethreshold number of allowable connections preset, allowing the one ormore connections up to the threshold number of allowable connectionspreset for the respective client to download the file from the serverand if the respective client has exceeded the threshold number ofallowable connections preset, preventing the respective client fromconnecting to the server, wherein overloading of the server with toomany simultaneous active connections is minimized. The method furtherincludes adjusting the threshold number of allowable connections presetfor a client of the plurality of clients based on a total number ofactive connections to the server existing at a given point-in-time. Inan embodiment, the identifying step further includes assigning a uniqueidentification to the each of the plurality of clients for accessing theserver, maintaining a client identification list that contains one ormore unique identifications corresponding to one or more clients of theplurality of clients having one or more active connections to theserver, and receiving one or more connection requests from a respectiveclient to download the file from the server, each of the one or moreconnection requests containing a respective unique identificationidentifying the respective client. In an embodiment, the tracking stepfurther includes maintaining a counter for monitoring a number of activeconnections by the respective client of the plurality of clients to theserver, and incrementing the counter by one when establishing aconnection by the respective client to download a file segment of saidfile and decrementing the counter by one when ending the connection todownload the file segment of the file. In an embodiment, the trackingstep further includes determining whether a respective uniqueidentification corresponding to the respective client is containedwithin the client identification list, and if the respective uniqueidentification is contained within the client identification list,comparing the counter for monitoring the number of active connectionsfor the respective client with the threshold number of allowableconnections preset for the respective client. The determining stepfurther includes adding the respective unique identification to theclient identification list.

if the respective unique identification is not contained within theclient identification list, updating the counter monitoring the numberof active connections for the respective client added to the clientidentification list, and allowing the one or more connections up to thethreshold number of allowable connections preset for the respectiveclient to download the file. In an embodiment, the preventing stepfurther includes issuing a connection response message informing therespective client that the server is busy and cannot permit any furtherconnections to the server. Further, the method includes removing therespective client from the client identification list when the counterfor monitoring the number of active connections by the respective clientequals zero.

In another aspect of the invention, there is provided a system formanaging download requests for files from a server that minimizesoverloading of the server. The system includes a network communicationschannel, a server connected to the network communications channel andhaving deployed thereon a tool for managing download connection requestsreceived by the server from one or more clients connected to the networkcommunications channel for downloading one or more files from theserver, the tool being configured to permit a respective client of theone or more clients who has not exceeded a threshold number of allowableconnections preset for the respective client to open up one or moreconnections requested in a download request to the server fordownloading a respective file of the one or more files, the one or moreconnections opened up to the server not exceeding the threshold numberof allowable connections preset for the respective client, the toolbeing further configured to prevent the respective client from openingup the one or more connections requested in the download request to theserver for downloading the respective file if the respective client hasexceeded the threshold number of allowable connections preset for therespective client, such that overloading of the server with too manysimultaneous active connections is minimized. In an embodiment, the toolfurther includes a configuration module configured to preset a thresholdnumber of allowable connections for each of the one or more clientsrequesting connections to download files from the server, theconfiguration module being further configured to adjust the thresholdnumber of allowable connections preset for a client based on a totalnumber of active connections of all of the one or more clients to theserver existing at a give point-in-time. In an embodiment, the toolfurther includes an identification module configured to assign a uniqueidentification to each of the one or more clients for downloading theone or more files from the server. In an embodiment, the tool furtherincludes a list module configured to maintain a list of one or moreunique identifications corresponding to the one or more clients havingone or more active connections to the server. In an embodiment, the toolfurther includes a tracking module configured to track whether or notthe respective client has exceeded the threshold number of allowableconnections preset. In an embodiment, the tool further includes anupdate module configured to update a number of active connections byeach of the one or more clients to the server, the update module furtherbeing configured to increment by one the number of active connectionsfor the respective client when establishing a connection of the one ormore connections to download a file and further being configured todecrement by one the number of active connections for the respectiveclient when ending a connection of the one or more connections todownload the file.

In yet another aspect of the invention, there is provided a computerprogram product for managing connection requests received fordownloading one or more files from a server. The computer programproduct includes a computer readable medium, first program instructionsto preset a threshold number of allowable connections for each of aplurality of clients requesting connections to download files from aserver in a computer infrastructure, second program instructions toidentify in a connection request received a respective client of theplurality of clients requesting one or more connections to download afile from the server, and third program instructions to track whether ornot the respective client of the plurality of clients has exceeded thethreshold number of allowable connections, wherein the third programinstructions include instructions to allow the one or more connections,up to the threshold number of allowable connections preset, to therespective client to download the file from the server, if therespective client has not exceeded the threshold number of allowableconnections preset, wherein the third program instructions includeinstructions to deny the one or more connections to the respectiveclient to download the file from the server, if the respective clienthas exceeded the threshold number of allowable connections preset. In anembodiment, each of the first, second and third program instructions arerecorded on the computer readable medium, executable by a processor. Inan embodiment, the first program instructions further includeinstructions to assign a unique identification to the each of theplurality of clients for accessing the server and to maintain a clientidentification list that contains one or more unique identificationscorresponding to one or more clients of the plurality of clients havingone or more active connections to the server, the first programinstructions further including instructions to adjust the thresholdnumber of allowable connections preset for a client of the plurality ofclients based on a total number of active connections to the serverexisting at a given point-in-time. In an embodiment, the second programinstructions further include instructions to receive one or moreconnection requests from the respective client resulting in multipleactive connections to download the file from the server, each connectionrequest of the one or more connection requests containing a respectiveunique identification identifying the respective client. In anembodiment, the third program instructions further include instructionsto maintain a counter for monitoring a number of active connections byrespective client of the plurality of clients to the server and toincrement the counter by one when establishing a connection of the oneor more connections for beginning download of a respective file segmentcorresponding to the file and to decrement the counter by one whenclosing the connection of the one or more connections for endingdownload of the respective file segment, the third program instructionsfurther including instructions to remove the respective client from theclient identification list when the counter for monitoring the number ofactive connections by the respective client equals zero. In anembodiment, the third program instructions further include instructionsto determine whether the respective unique identification correspondingto the respective client is contained within the client identificationlist, such that, if the respective unique identification is containedwithin the client identification list, to compare the counter monitoringthe number of active connections for the respective client with thethreshold number of allowable connections preset for the respectiveclient and to allow the one or more connections up to the thresholdnumber preset for the respective client, wherein if the respectiveunique identification is not contained within the client identificationlist, to add the respective unique identification to the clientidentification list and to allow the one or more connections up to thethreshold number preset for the respective client. In an embodiment, thethird program instructions further include instructions to issue aconnection response message to said respective client that the server isbusy and cannot permit any further connections to the server, if therespective client has exceeded the threshold number of allowableconnections preset.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and form a part ofthis specification, illustrate embodiments of the invention and,together with the description, serve to explain the principles of theinvention:

FIG. 1 depicts a flowchart outlining the steps for managing downloadrequests received for files on a server, in accordance with anembodiment of the present invention

FIG. 2 is a schematic block system diagram illustrating an embodiment ofa system for downloading files from a server while minimizingoverloading of the server, in accordance with an embodiment of thepresent invention

FIG. 3 is a schematic block system diagram illustrating an embodiment ofa network infrastructure comprising a computer program product formanaging connection requests received for downloading one or more filesfrom a server, in accordance with an embodiment of the presentinvention.

DETAILED DESCRIPTION OF THE INVENTION

Many of the functional units described in this specification have beenlabeled as modules, in order to more particularly emphasize theirimplementation independence. For example, a module may be implemented asa hardware circuit comprising custom VLSI circuits or gate arrays,off-the-shelf semiconductors such as logic chips, transistors, or otherdiscrete components. A module may also be implemented in programmablehardware devices such as field programmable gate arrays, programmablearray logic, programmable logic devices or the like. Modules may also beimplemented in software for execution by various types of processors. Anidentified module or component of executable code may, for instance,comprise one or more physical or logical blocks of computer instructionswhich may, for instance, be organized as an object, procedure, orfunction. Nevertheless, the executables of an identified module need notbe physically located together, but may comprise disparate instructionsstored in different locations which, when joined logically together,comprise the module and achieve the stated purpose for the module.

Further, a module of executable code could be a single instruction, ormany instructions, and may even be distributed over several differentcode segments, among different programs, and across several memorydevices. Similarly, operational data may be identified and illustratedherein within modules, and may be embodied in any suitable form andorganized within any suitable type of data structure. The operationaldata may be collected as a single data set, or may be distributed overdifferent locations including over different storage devices, overdisparate memory devices, and may exist, at least partially, merely aselectronic signals on a system or network. Furthermore, modules may alsobe implemented as a combination of software and one or more hardwaredevices. For instance, a module may be embodied in the combination of asoftware executable code stored on a memory device. In a furtherexample, a module may be the combination of a processor that operates ona set of operational data. Still further, a module may be implemented inthe combination of an electronic signal communicated via transmissioncircuitry.

Reference throughout this specification to “one embodiment,” “anembodiment,” or similar language means that a particular feature,structure, or characteristic described in connection with the embodimentis included in at least one embodiment of the present invention. Thus,appearances of the phrases “in one embodiment,” “in an embodiment.” andsimilar language throughout this specification may, but do notnecessarily, all refer to the same embodiment.

Moreover, the described features, structures, or characteristics of theinvention may be combined in any suitable manner in one or moreembodiments. It will be apparent to those skilled in the art thatvarious modifications and variations can be made to the presentinvention without departing from the spirit and scope of the invention.Thus, it is intended that the present invention cover the modificationsand variations of this invention provided they come within the scope ofthe appended claims and their equivalents. Reference will now be made indetail to the preferred embodiments of the invention.

In one embodiment, the invention provides a method of managing downloadsof files from a server in a computer infrastructure while minimizingoverloading the server, as described herein below with respect toFIG. 1. In particular, the invention provides a method of using adownload managing tool (also referred to herein as a managing tool orsimply referred to as a tool) configured to manage the download requestsof files received by a server in a computer infrastructure. Turning toFIG. 1, reference numeral 100 outlines the steps for managing downloadrequests received by a serve for files from one or more clients among aplurality of clients. As shown in step 102 in FIG. 1, the downloadmanaging tool determines and assigns a unique identification (ID) toeach client or requester requesting a download of one or more files fromthe server. The unique identification is used to identify a respectiveclient among the plurality of clients requesting one or more connectionsto download a file from the server. In an embodiment, the uniqueidentification is a ticket, a generated string that uniquely identifiesa requestor entitled to download files from a server, which is embeddedin the download URL (Uniform Resource Locator). It is understood by oneskilled in the art that a client's IP (Internet Protocol) address or URLparameters could also be used to determine a unique identification oridentifier. Further, in step 104, the download managing tool, which inan embodiment is deployed on the server, is used to preset a thresholdnumber of allowable connections for each client among the plurality ofclients that are permitted to request one or more connections todownload files from the server, which in an embodiment is based on atotal number of active connections to the server existing at a givenpoint-in-time. In step 106, the download managing tool maintains a listof active IDs corresponding to clients with current connections to theserver. Further, the download managing tool tracks (described hereinbelow with respect to steps 108 through 130) whether or not therespective client requesting the download of one or more files hasexceeded the threshold number of allowable connections preset in step104. In particular, the download managing tool in step 108 sets up amonitor to detect the beginning of a download and the end of a downloadin order to track connections to the server at any given time. In anembodiment, the download managing tool monitors the connect and detectsthe disconnect of a file transfer, which is typically associated withthe start location and the number of bytes specified within a connectionrequest for a file. The download managing tool waits for and receives instep 110 a connection or download request, which contains a unique IDidentifying the requestor or client. The download managing tooldetermines in step 112 whether or not the unique ID is listed in thelist of active IDs with current connections maintained, as per step 106.If the unique ID for the request received is not listed in the list ofactive IDs, then the download managing tool adds the unique ID to thelist of active IDs maintained and in step 118, the download managingtool allows the client or requestor with the stated ID to access ordownload the requested file from the server, using one or up to thethreshold number of allowable connections preset for that client in step104, where each connection is used to download a file segment for a filerequested. However, referring to step 112, if the unique ID for therequest received is listed in the list of active IDs maintained in step106, then the download managing tool determines in step 116 whether ornot the number of current connections for the client corresponding tothe ID is greater than or equal to the threshold number of allowableconnections. If the number of current connections for the clientcorresponding to the ID is greater than or equal to the threshold numberof allowable connections, then the download managing tool denies the newconnection and issues to the client with the ID a notification ormessage, such as, an HTTP (Hypertext Transfer Protocol) 503 message,that the server is busy and cannot permit a connection request at thattime. It is understood by one skilled in the art that the HTTPspecification provides other codes besides HTTP 503 as well asalternatives that can be used to communicate a message to the clientthat the server cannot permit a connection request at that time. Assuch, the download managing tool returns to step 110 and waits foranother connection or download request. On the other hand, if the numberof current connections for the client corresponding to the ID is notgreater than or equal to the threshold number of allowable connections,then in step 118 the download managing tool allows the client orrequester with the stated ID to access or download the requested file orfiles from the server, using one or up to the threshold number ofallowable connections preset for that client in step 104. In anembodiment, each of the connections used in a request retrieves a filesegment of a requested file. The download managing tool increments byone the number of active connections for the ID that is monitored andallowed access to download one or more files requested by the client. Instep 122, the download managing tool determines whether or not thedownload is complete. If the download managing tool determines that thedownload of the file(s) is completed, the download managing tooldecrements by one in step 124 the number of active connections trackedor monitored for the client with the given ID. Further, the downloadmanaging tool determines in step 126 whether or not the number of activeconnections for the client with the given ID is zero. If the number ofactive connections for the client with the given ID is zero, then thedownload managing tool removes in step 130 the ID from the list ofactive IDs maintained and returns to step 110 and waits for anotherconnection or download request. However, if the number of activeconnections for the client with the given ID is not zero, then thedownload managing tool leaves in step 128 the ID in the list of activeIDs maintained and returns to step 110 and waits for another connectionor download request.

Accordingly, for example, if a requestor A is permitted 100 connectionsat a given point-in-time and wishes to open 50 concurrent connections,which will be established one connection at a time, the downloadmanaging tool on the server checks to see if requestor A's uniqueidentification contained in the request received by the server is in thelist of active IDs, which lists all clients or requesters with currentconnections to the server. If requestor A's unique identification is notlisted in the list of active IDs, then the download managing tool addsrequestor A's unique identification to the list of active IDs andincrements the number of concurrent connections as each connection isestablished and allows the requestor access to download the file using50 concurrent connections. On the other hand, if requestor A is listedin the list of IDs with current connections to the server, the downloadmanaging tool determines whether or not the number of connections forrequestor A is greater than or equal to a 100 connections. For example,if requestor A already has 100 active connections, then the downloadmanaging tool denies all additional connection requests and issues torequestor A a ‘server busy’ message, for instance, an HTTP 503 message.On the other hand, for instance, if requestor A already has requestedthe download of a file using 60 connections and the 60 connections havebeen allowed by the download managing tool deployed on the server, thenthe download managing tool limits requestor A to download the requestedfile using just 40 connections and issues a ‘server busy’ message forany additional requests, since requestor A's total number of allowableconnections is still the threshold number of 100 allowable connectionspreset for requestor A. Further, the download managing tool incrementsor increases the number of active connections for requestor A by 1 as aconnection is created. Moreover, when the download of a singleconnection is completed, the download managing tool decrements ordecreases the number of active connections for requestor A by 1.Additionally, the download managing tool checks to see if requestor Astill has any active connections, and if the total number of activeconnections for requestor A is zero the download managing tool removesrequestor A's unique ID from the list of active IDs. Also, in anembodiment, the maximum or threshold number of allowed or allowableconnections per unique identification can be adjusted by the downloadmanaging tool running on the server depending on the total number ofactive connections from all requestors existing at any given time. In anembodiment, the download managing tool utilizes an algorithm to adjustthe threshold number of allowable connections. For example, if the totalnumber of active connections to the server by all requestors is lessthan 400, the threshold number of allowable connections for a requestorcould be set or adjusted to a maximum of 100 connections, whereas, ifthe total number of active connections to the server by all requestorsis between 400 and 599, the threshold number of allowable connectionsfor a requestor could be set or adjusted to a maximum of 50 connections.Similarly, if the total number of active connections to the server byall requestors is between 600 and 799, the threshold number of allowableconnections for a requestor could be set or adjusted to a maximum of 20connections less than 400, whereas, if the threshold number of allowableconnections to the server by all requestors is over 800 connections, thethreshold number of allowable connections for a requestor could be setor adjusted to a maximum of 10 connections. Moreover, in an embodiment,a connection is not severed due to a threshold being reached. Forexample, using the setup described above, if requestor A is currentlydownloading a file using 90 connections and the total connections of allrequestors exceeds 400 connections, thus leading to an adjustment in thepreset threshold, namely, reducing the threshold from 100 to 50connections, requestor A is allowed to maintain the existingconnections. However, if a connection by requestor A ends and a newconnection request is received, the download managing tool on the serverwould issue a server busy response since requestor A would have 89active connections and the adjustment would allow only 50 connections atthat point.

In another embodiment, the invention provides a system for managingdownload requests received by a server for one or more files, forinstance, software files from a server on a network, such thatoverloading of the server is minimized or avoided. Reference is now madeto FIG. 2, which illustrates an embodiment of a server 200 for managingthe downloading one or more software files while minimizing overloadingof the server, in accordance with an embodiment of the presentinvention. Turning to FIG. 2, FIG. 2 is a schematic block system diagramillustrating one embodiment of a system or server 200 having a downloadmanaging tool or code 220 deployed thereon, the download managing toolor code 220 being configured to manage the download of one or moresoftware files, such that overloading of the server is minimized. In anembodiment, the system or server 200 is a file server that has storedthereon one or more downloadable files and has a download managing tool220 that is deployed and running thereon to manage download requestsreceived for the one or more downloadable files. In an embodiment, thedownload managing tool 220 is configured to permit a respective clientof the one or more clients who has not exceeded a threshold number ofallowable connections preset for the respective client to open up one ormore connections requested in a download request to the file server 200for downloading a software file, provided that the one or moreconnections to the server do not exceed the threshold number ofallowable connections preset for the respective client. Further, thedownload managing tool 220 is configured to prevent the respectiveclient from opening up the one or more connections requested in thedownload request to the server for downloading the software file if therespective client has exceeded the threshold number of allowableconnections preset for the respective client, as describe herein abovewith respect to FIG. 1, such that, overloading of the file server withtoo many simultaneous active connections is minimized.

The file server or system 200 includes a central processing unit (CPU)204, a local storage device 202, a user interface 206, a networkinterface 208, and a memory 210. The CPU 204 is configured generally toexecute operations within the system/server 200, such as, the downloadmanaging tool or code 220. The user interface 206 is configured topermit a user, such as, an administrator to interface with the server200. Further, the network interface 208 is configured, in oneembodiment, to facilitate network communications of the server 200 overa communications channel of a network (not shown in any of thedrawings). In an embodiment, the local memory 210 is configured to storeone or more client or requestor profile(s) 212 that provide information,such as, priority or importance of a client requestor among the multipleclients or requesters requesting download connections to the file server200. It is understood that other applications that are utilized by theserver 200 may be stored in memory 210. Also, in an embodiment, thedownload managing tool 220 is configured to store the list of active IDs214 with current connections to the server in storage 202 in the fileserver 200. Further, in an embodiment, the download managing tool 220 isconfigured to store a list of the unique identifications (IDs) 216assigned to each client or requestor in storage 202 in the file server200. Moreover, in an embodiment, the download managing tool 220 isconfigured to store a copy of the threshold or maximum number ofallowable connections 215 preset for a client or requestor in storage202.

In one embodiment, as shown in FIG. 2, the download managing tool orcode 220 which runs on the file server or system 200 comprises a logicunit that contains a plurality of modules configured to functionallyexecute the necessary steps for managing download requests for filesfrom a server while minimizing overloading the server. In particular,the download managing tool or code 220 includes a configuration module222, an identification module 224, a list module 226, a tracking module228, an update module 230 and a communications module 232. In anembodiment, the configuration module 222 is configured to receive inputas to a preset threshold number of allowable connection for each clientamong the plurality of clients allowed access to the server. Further, inan embodiment, the configuration module 222 is configured to adjust thethreshold number of allowable connections preset for a client based on atotal number of active connections to the server existing at a givenpoint-in-time. The identification module 224 of the download managingtool or code 220 is configured to assign a unique identification to eachof the clients or requestors permitted to access or download files fromthe server 200. Further, in an embodiment, the identification module 224is configured to identify a client or requestor of a request received bythe file server 200, using the list of unique IDs assigned to clientsthat are stored, in an embodiment, in local storage 202 of the fileserver 200. The list module 226 is configured to maintain a list ofactive IDs corresponding to the clients or requestors with currentconnections to the file server 200. Further, the tracking module 228 isconfigured to track or monitor whether or not a client has exceeded thethreshold number of allowable connections preset for the client. In anembodiment, the update module 230 is configured to update a number ofactive connections by each client to the server 200 and to furtherincrement by one the number of active connections for the client wheninitiating a connection to download a file segment of a software file.Further, in an embodiment, the update module 230 is configured todecrement by one the number of active connections for the client whenending the connection. Additionally, the communications module 232 isconfigured to permit communication between the various modules of thedownload managing tool or code 220 and other various components of theserver 200.

Referring now to FIG. 3, there is illustrated a computer infrastructure300 that provides a computer program product for managing connectionrequests received for downloading one or more files from a server, inaccordance with an embodiment of the present invention. The computerprogram product comprises a computer readable or computer-usable medium,which provides program code, namely, the download managing tool 314, foruse by or in connection with a computer or any instruction executionsystem. The download managing tool or program 314 can be loaded intocomputer system 304 from a computer readable media 336, such as, amagnetic tape or disk, optical media, DVD, memory stick, semiconductormemory, etc. or downloaded from the Internet via a TCP/IP adapter card338. As depicted in FIG. 3, system 300 includes a computerinfrastructure 302, namely, a file download infrastructure 302, which isintended to represent any type of computer architecture that ismaintained in a secure environment (i.e., for which access control isenforced). As shown, infrastructure 302 includes a computer system 304that typically represents an application server or system 304 or thelike that includes an download managing tool or program 314 configuredto manage connection requests received from clients for downloading oneor more files from the server. It should be understood, however, thatalthough not shown, other hardware and software components (e.g.,additional computer systems, switches, routers, firewalls, etc.) couldbe included in infrastructure 302.

In general, one or more clients or requestors, for instance, client orrequestor 1 (reference numeral 330) through client or requestor N(reference numeral 332) can access the application server or system 304,which has deployed thereon the download managing tool 314, whichimplements the invention. The download managing tool or program 314 isrun on the application server 304 to manage the download requestsreceived from any one of the requestors 1 through N (reference numerals330 through 332) for downloading one or more files from the server 304,as described herein above. As shown in FIG. 3, the application server orsystem 304 (which has implemented thereon the download managing tool314) is shown in communication with a general storage or file system ordata store 322, which in an embodiment stores the maximum or thresholdnumber of allowable connections 325 preset for each client or requester.Further, in an embodiment, the storage system 322 stores a list ofactive IDs for clients or requestors with active connections to theserver 304. Furthermore, in an embodiment, the storage system 322 storesthe list of unique identifications numbers assigned to each of therequestors or clients in order to identify the requester requestingconnection to the server. In an embodiment, clients or requestors 1through N, reference numerals 330 through 332, respectively) access theapplication server or system 304 over a network via interfaces (e.g.,web browsers) loaded on a client, for example, a personal computer, alaptop, a handheld device, etc. In the case of the latter, the networkcan be any type of network such as the Internet, a local area network(LAN), a wide area network (WAN), a virtual private network (VPN), etc.In any event, communication with infrastructure 302 could occur via adirect hardwired connection (e.g., serial port), or via an addressableconnection that may utilize any combination of wireline and/or wirelesstransmission methods. Moreover, conventional network connectivity, suchas Token Ring, Ethernet, WiFi or other conventional communicationsstandards could be used. Still yet, connectivity could be provided byconventional TCP/IP sockets-based protocol. In this instance, theparties could utilize an Internet service provider to establishconnectivity to infrastructure 302. It should be understood that underthe present invention, infrastructure 302 could be owned and/or operatedby a party such as provider 340, or by an independent entity, whichprovides a service of managing download requests received fromrequestors requesting the download of one or more files from the server304. Regardless, use of infrastructure 302 and the teachings describedherein could be offered to the parties on a subscription or fee-basis.In either scenario, an administrator 334 could support and configureinfrastructure 302, for instance, for upgrading the download managingtool 314 deployed on the application server or system 304 and/orupdating information, such as, for adjusting the predefined or presetthreshold or maximum number of allowable connections for a requestor.

The application server 304 is shown to include a CPU (hereinafter“processing unit 306”), a memory 312, a bus 310, and input/output (I/O)interfaces 308. Further, the server 304 is shown in communication withexternal I/O devices/resources 324 and storage system 322. In general,processing unit 306 executes computer program code, such as the downloadmanaging tool 314, as described herein above with respect to FIGS. 1 and2. While executing computer program code, the processing unit 306 canread and/or write data to/from memory 312, storage system 322, and/orI/O interfaces 308. For instance, in one embodiment, the downloadmanaging tool 314 stores a copy of the threshold or maximum number ofallowable connections 325 preset for a requestor and the list of uniqueidentifications assigned to requestors 328 in storage 322. Similarly,the download managing tool 314 stores a copy of the list of active IDscorresponding to clients with current connections to the server instorage 322. Alternatively, the threshold or maximum number of allowableconnections 325 and/or list of unique identifications assigned torequestors 328 and/or list of active IDs with connections to the server326 may be stored in a separate storage within the application downloadinfrastructure 302. Bus 310 provides a communication link between eachof the components in computer system 300, such that information can becommunicated within the infrastructure 302. External devices 324 cancomprise any devices (e.g., keyboard, pointing device, display, etc.)that enable a user and/or administrator to interact with computer system300 and/or any devices (e.g., network card, modem, etc.) that enableserver 304 to communicate with one or more other computing devices.

Computer infrastructure 302 is only illustrative of various types ofcomputer infrastructures for implementing the invention. For example, inan embodiment shown, computer infrastructure 302 comprises two or morecomputing devices (e.g., a server cluster) that communicate over anetwork to perform the various process steps of the invention. Moreover,computer system 300 is only representative of various possible computersystems that can include numerous combinations of hardware. To thisextent, in other embodiments, computer system 300 can comprise anyspecific purpose computing article of manufacture comprising hardwareand/or computer program code for performing specific functions, anycomputing article of manufacture that comprises a combination ofspecific purpose and general purpose hardware/software, or the like. Ineach case, the program code and hardware can be created using standardprogramming and engineering techniques, respectively. Moreover,processing unit 306 may comprise a single processing unit, or bedistributed across one or more processing units in one or morelocations, e.g., on a client and server. Similarly, memory 312 and/orstorage system 322 can comprise any combination of various types of datastorage and/or transmission media that reside at one or more physicallocations. Further, I/O interfaces 308 can comprise any system forexchanging information with one or more external devices 324. Stillfurther, it is understood that one or more additional components (e.g.,system software, math co-processing unit, etc.) not shown in FIG. 3 canbe included in computer system 300. However, if computer system 300comprises a handheld device or the like, it is understood that one ormore external devices 324 (e.g., a display) and/or storage system(s) 322could be contained within computer system 304, and not externally asshown. Storage system 322 can be any type of system (e.g., a database)capable of providing storage for information under the presentinvention, such as, the list of active IDs 326 utilized by the downloadmanaging tool 314. To this extent, storage system 322 could include oneor more storage devices, such as a magnetic disk drive or an opticaldisk drive. In another embodiment, storage system 322 includes datadistributed across, for example, a local area network (LAN), wide areanetwork (WAN) or a storage area network (SAN) (not shown). Although notshown, additional components, such as cache memory, communicationsystems, system software, etc., may be incorporated into computer system300.

The foregoing descriptions of specific embodiments of the presentinvention have been presented for the purpose of illustration anddescription. They are not intended to be exhaustive or to limit theinvention to the precise forms disclosed, and obviously manymodifications and variations are possible in light of the aboveteaching. The embodiments were chosen and described in order to bestexplain the principles of the invention and its practical application,to thereby enable others skilled in the art to best utilize theinvention and various embodiments with various modifications as aresuited to the particular use contemplated. It is intended that the scopeof the invention be defined by the claims appended hereto and theirequivalents.

What is claimed is:
 1. A method of managing downloads of a file from aserver, said method comprising: a computer determining whether or not anumber of current connections between the server and a client is lessthan a preset threshold number of allowable concurrent connectionsbetween the server and the client, said preset threshold number being anupper threshold number greater than one; the computer determining thatthe number of current connections between the client and the server isat least the preset threshold number and in response, the computerdenying a request by the client to download the file from the serverusing another connection between the client and the server, wherein saiddenying comprises issuing to the client a message stating that the otherconnection to download the file from the server is not currentlypermitted; after said denying the request, the computer determining thatthe number of current connections between the client and the server isless than the preset threshold number and responsive to the request bythe client to download the file pursuant to another connection betweenthe client and the server, the computer establishing the otherconnection between the client and the server and downloading the file tothe client via the other connection between the client and the server;and automatically changing, by the computer, the preset threshold numberof allowable concurrent connections based on a total number of activecurrent connections between server and both the client and otherclients.
 2. The method of claim 1 wherein the preset threshold number ofcurrent connections includes (a) current connections between the serverand the client that are used to download the file from the server to theclient and (b) current connections between the server and the clientthat are not used to download the file from the server to the client. 3.A computer program product, comprising one or more computer-readablehardware storage devices storing program instructions which, upon beingexecuted by a computer, perform a method of managing downloads of a filefrom a server, said method comprising: said computer determining whetheror not a number of current connections between the server and a clientis less than a preset threshold number of allowable concurrentconnections between the server and the client, said preset thresholdnumber being an upper threshold number greater than one; the computerdetermining that the number of current connections between the clientand the server is at least the preset threshold number and in response,the computer denying a request by the client to download the file fromthe server using another connection between the client and the server,wherein said denying comprises issuing to the client a message statingthat the other connection to download the file from the server is notcurrently permitted; after said denying the request, the computerdetermining that the number of current connections between the clientand the server is less than the preset threshold number and responsiveto the request by the client to download the file pursuant to anotherconnection between the client and the server, the computer establishingthe other connection between the client and the server and downloadingthe file to the client via the other connection between the client andthe server; and automatically changing, by the computer, the presetthreshold number of allowable concurrent connections based on a totalnumber of active current connections between server and both the clientand other clients.
 4. The computer program product of claim 3, whereinthe preset threshold number of current connections includes (a) currentconnections between the server and the client that are used to downloadthe file from the server to the client and (b) current connectionsbetween the server and the client that are not used to download the filefrom the server to the client.
 5. A computer system, comprising one ormore processors, one or more computer-readable memories, and one or morecomputer-readable hardware storage devices storing program instructions,which upon being executed by the one or more processors via the one ormore memories, perform a method of managing downloads of a file from aserver, said method comprising said one or more processors determiningwhether or not a number of current connections between the server and aclient is less than a preset threshold number of allowable concurrentconnections between the server and the client, said preset thresholdnumber being an upper threshold number greater than one; the one or moreprocessors determining that the number of current connections betweenthe client and the server is at least the preset threshold number and inresponse, the one or more processors denying a request by the client todownload the file from the server using another connection between theclient and the server, wherein said denying comprises issuing to theclient a message stating that the other connection to download the filefrom the server is not currently permitted; after said denying therequest, the one or more processors determining that the number ofcurrent connections between the client and the server is less than thepreset threshold number and responsive to the request by the client todownload the file pursuant to another connection between the client andthe server, the one or more processors establishing the other connectionbetween the client and the server and downloading the file to the clientvia the other connection between the client and the server; andautomatically changing, by the one or more processors, the presetthreshold number of allowable concurrent connections based on a totalnumber of active current connections between server and both the clientand other clients.
 6. The computer system of claim 5, wherein the presetthreshold number of current connections includes (a) current connectionsbetween the server and the client that are used to download the filefrom the server to the client and (b) current connections between theserver and the client that are not used to download the file from theserver to the client.